package com.gzhryc.shared_device.cdcz.api.protocol;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

public class CDCZHttpChargeRequest extends SecurityRequest<CDCZHttpChargeRequest.Body> {

    private static final long serialVersionUID = 1L;

    public CDCZHttpChargeRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String deviceSn;
        private Integer slotNum;
        private String tradeNo;
        private Integer costMode;           //1:计时，3:计电
        private Integer chargeTimes;         //充电时长
        private Double chargeElectricity;    //最大充电电量
        private String messageId;

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public Integer getSlotNum() {
            return slotNum;
        }

        public void setSlotNum(Integer slotNum) {
            this.slotNum = slotNum;
        }

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public Integer getCostMode() {
            return costMode;
        }

        public void setCostMode(Integer costMode) {
            this.costMode = costMode;
        }

        public Integer getChargeTimes() {
            return chargeTimes;
        }

        public void setChargeTimes(Integer chargeTimes) {
            this.chargeTimes = chargeTimes;
        }

        public Double getChargeElectricity() {
            return chargeElectricity;
        }

        public void setChargeElectricity(Double chargeElectricity) {
            this.chargeElectricity = chargeElectricity;
        }

        public String getMessageId() {
            return messageId;
        }

        public void setMessageId(String messageId) {
            this.messageId = messageId;
        }
    }
}
